
<div class="cl">&nbsp;</div>
<div style="text-align: lrft">
<?php
if($this->session->userdata('client_id') == null){
	?>
	<a href="javascript:void(0);" alt="login" onclick="submitLink(this)"
		class="lang">Login</a>
		<?php
}else
echo '<strong>'.$this->session->userdata('client_fullname').'</strong>('.$this->session->userdata('client_referencenumber').')';

?>S

</div>
<br />
<!-- END Logo -->
<div class="cl">&nbsp;</div>
<div class="table" style="width: 100%">
	<table width="100%" border="0" cellspacing="1" cellpadding="0">
		<tr class="even">
			<th>DR Number</th>
			<th>Commodity</th>
			<th>Pick up Address</th>
			<th>Delivery Point</th>
			<th>On Board Date</th>
			<th>Action</th>
		</tr>

		<?php
		//transactionList
		foreach ($transactionList->result() as $transaction)
		{
			echo "<tr class='add'>
											<td>".$transaction->dr_number."</td>
											<td>".$transaction->commodity."</td>
											<td>".$transaction->pickupaddress."</td>
											<td>".$transaction->deliverypoint."</td>
											<td>".$transaction->onboarddate."</td>
											<td><a href='javascript:void(0)' alt='transactionDetails' onclick = 'editLink(this , $transaction->trans_id)' >view details</a></td>
										</tr>";


		}
		?>

	</table>